package com.fayuan.nocv.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fayuan.nocv.entity.LineTrend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface LineTrendMapper extends BaseMapper<LineTrend> {

    @Select("select * from line_trend order by create_time limit 7")
    public List<LineTrend>dataForWeek();
}
